package com.giscloud.limp.dao;

import com.giscloud.limp.entity.CaseExecution;
import org.apache.ibatis.annotations.Param;
import com.giscloud.limp.entity.CaseExecutionExample;
import java.util.List;
import java.math.BigDecimal;
import com.giscloud.datasource.core.DynamicDataSource;
/**
 * 案件执行信息
 * 
 * @author giscloud
 * @email giscloud@giscloud.com
 * @date 2020-06-10 14:25:29
 */
public interface CaseExecutionDao {
    @DynamicDataSource("ds1")
    long countByExample(CaseExecutionExample example);
    @DynamicDataSource("ds1")
    int deleteByExample(CaseExecutionExample example);
    @DynamicDataSource("ds1")
    int insert(CaseExecution record);
    @DynamicDataSource("ds1")
    int insertSelective(CaseExecution record);
    @DynamicDataSource("ds1")
    List<CaseExecution> selectByExample(CaseExecutionExample example);
    @DynamicDataSource("ds1")
    int updateByExampleSelective(@Param("record") CaseExecution record, @Param("example") CaseExecutionExample example);
    @DynamicDataSource("ds1")
    int updateByExample(@Param("record") CaseExecution record, @Param("example") CaseExecutionExample example);
    @DynamicDataSource("ds1")
    int updateByPrimaryKeySelective(CaseExecution record);
    @DynamicDataSource("ds1")
    int updateByPrimaryKey(CaseExecution record);
    @DynamicDataSource("ds1")
    CaseExecution selectByPrimaryKey(Integer caseExecutionId);
    @DynamicDataSource("ds1")
    CaseExecution selectOneByExample(CaseExecutionExample example);
    @DynamicDataSource("ds1")
    CaseExecution selectOneByExampleSelective(@Param("example") CaseExecutionExample example, @Param("selective") CaseExecution.Column... selective);
    @DynamicDataSource("ds1")
    CaseExecution selectByPrimaryKeySelective(Integer caseExecutionId, @Param("selective") CaseExecution.Column... selective);
    @DynamicDataSource("ds1")
    List<CaseExecution> selectByExampleSelective(@Param("example") CaseExecutionExample example, @Param("selective") CaseExecution.Column... selective);

}
